package com.zero.qth.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zero.common.annotation.excel.Excel;
import com.zero.common.core.domain.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;



/**
 * 司机提现申请对象 driver_withdraw
 * 
 * @author cai-xu-kun
 * @date 2025-09-17
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class DriverWithdraw extends BaseEntity {
    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Long driverId;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardId;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private Long amount;

    /** 提现状态（0待提现 1已提现 2拒绝提现 3取消提现） */
    @Excel(name = "提现状态", readConverterExp = "0=待提现,1=已提现,2=拒绝提现,3=取消提现")
    private Integer status;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyDate;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date finishDate;
}
